import React from 'react'
import { HashRouter as Router, Route } from 'react-router-dom'
import Login from './Login'
import Layout from './Layout'

function Main() {
  return (
    <Router >
      <Route path="/" exact  component={Login} />
      <Route path="/login"   component={Login} />
      <Route path="/console/"  component={Layout} />
    </Router>
  )

}

export default Main